package com.pojo;

/**
 * @author mornd
 * @date 2020/11/28 - 12:23
 */

import com.alibaba.fastjson.annotation.JSONField;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * 系统访问日志
 */
@Data
public class SysLog {
    private Long id;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    private Date visitTime;
    private String userName;
    private String ip;
    private String url;
    private Long executionTime;
    private String className;
    private String method;
}
